Skip to content

Conversation

@sauk2
Copy link

@sauk2 sauk2 commented Dec 22, 2024

Summary

This pull request introduces Docker support by setting up a ROS Noetic environment with GPU acceleration. The changes include the addition of dockerfiles along with a compose script and a new docker usage section in the README.

The following files have been added,

  1. nvidia-ros-noetic.Dockerfile
  • Builds a ROS Noetic image using an NVIDIA CUDA-based Ubuntu base image.
  • Provides GPU acceleration for ROS applications.
  1. dev-overlay.Dockerfile
  • Extends the ROS Noetic base image to create a development container.
  • Includes volume-mounted support for the src folder.
  1. docker-compose.yaml
    Simplifies launching of the development environment.

Usage instructions

  1. Build the base and development images.
  docker build -f docker/nvidia-ros-noetic.Dockerfile -t nvidia-ros-noetic .
  docker build -f docker/dev-overlay.Dockerfile -t dev-overlay .
  1. Launch the development environment.
  xhost +
  docker compose up
  1. Access the running container and run a roslaunch command.
  docker exec -it dev-overlay bash

  # Run command inside container
  roslaunch me5413_world world.launch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant